Dokumentaro de Gambaso
Compilation & Installation from source code
Components
gb
Array
Error
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Short[].ExistSorted (gb)

Function ExistSorted ( Value As Short ) As Boolean

Since 3.16

Return if a specific value exists in a sorted array.

This method only works if the array is sorted.

But it is faster than the Exist method as it uses a binary search algorithm.